﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vit.PlugIn.Lucene
{
    public class FieldInfo
    {
        public FieldInfo(DocumentInfo document)
        {
            this.Document = document;
            Boost = 1.0f;
        }

        public string FieldName { get; set; }
        public string PropertyName { get; set; }
        public string Index { get; set; }
        public string Store { get; set; }
        public float Boost { get; set; }

        public DocumentInfo Document { get; private set; }
    }
}
